public class Test1 {
    public static void main(String[] args) {
        int a = 10;
        long b = 20;
        //a = a + b;//错误
        a += b;//这种写法，会自动帮你进行转换！
        System.out.println(a);
        System.out.println(b);
    }
}
